package com.ybxx.fees.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.ybxx.core.model.BaseModel;

@Entity
@Table(name="tbl_fees_other_record_item")
public class OtherRecordItem extends BaseModel {
	@Id
	private String ricode;
	@ManyToOne(targetEntity=OtherRecord.class,fetch=FetchType.LAZY)
	@JoinColumn(name="orcode",referencedColumnName="orcode")
	private OtherRecord otherRecord;
	private String costname;
	private String costdescription;
	private String amount;
	private String adjust;
	private String combined;
	public String getRicode() {
		return ricode;
	}
	public void setRicode(String ricode) {
		this.ricode = ricode;
	}
	public OtherRecord getOtherRecord() {
		return otherRecord;
	}
	public void setOtherRecord(OtherRecord otherRecord) {
		this.otherRecord = otherRecord;
	}
	public String getCostname() {
		return costname;
	}
	public void setCostname(String costname) {
		this.costname = costname;
	}
	public String getCostdescription() {
		return costdescription;
	}
	public void setCostdescription(String costdescription) {
		this.costdescription = costdescription;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public String getAdjust() {
		return adjust;
	}
	public void setAdjust(String adjust) {
		this.adjust = adjust;
	}
	public String getCombined() {
		return combined;
	}
	public void setCombined(String combined) {
		this.combined = combined;
	}
	
}
